package cn.exrick.xboot.modules.transport.mapper;

import cn.exrick.xboot.modules.transport.param.QueryFeedbackParam;
import cn.exrick.xboot.modules.transport.vo.FeedbackVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.exrick.xboot.modules.transport.entity.Feedback;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 反馈信息-包含订单数据处理层
 * @author gj
 */
public interface FeedbackMapper extends BaseMapper<Feedback> {

    IPage<FeedbackVo> getByCondition(@Param("page") Page page,@Param("param") QueryFeedbackParam param);

    FeedbackVo getFeedbackById(@Param("id") Long id);
}